package com.qinglian.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author augn
 * @since 2023-04-24
 */
@Data
@ApiModel(value = "Friend对象", description = "")
public class Friend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty("用户编号")
    private Integer userId;

    @ApiModelProperty("好友编号")
    private Integer friendId;

    @ApiModelProperty("好友备注")
    private String note;

    @ApiModelProperty("请求消息")
    private String content;

    @ApiModelProperty("是否同意")
    private Integer agree;

    @JsonIgnore
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
